
public class Camion extends Vehiculo {
	private double cargaMax;
	public void setCargaMax (double pcarga) {cargaMax=pcarga;}
	public double getCargaMax () {return cargaMax;}
	public void imprimir () 
{System.out.println("Id: " + niv);
 System.out.println("Carga: " + cargaMax); }
	public void imprimir (String s)  { System.out.println(s + cargaMax); }

}
